#!/bin/sh
export LANG="en_US.UTF-8"

WORKSPACE=${WORKSPACE}
ENV=${ENV}
JOB_NAME=${JOB_NAME}
BUILD_NUMBER=${BUILD_NUMBER}
PRIORITY=${PRIORITY}
THREAD_NUM=${THREAD_NUM}
RETRY_TIME=${RETRY_TIME}
isshuffle=${isshuffle}
TOEMAIL=${TOEMAIL}

echo "WORKSPACE:": $WORKSPACE
echo "ENV:": $ENV
echo "JOB_NAME:": $JOB_NAME
echo "BUILD_NUMBER:": $BUILD_NUMBER
echo "PRIORITY:": $PRIORITY
echo "THREAD_NUM:": $THREAD_NUM
echo "RETRY_TIME:": $RETRY_TIME
echo "isshuffle:": $isshuffle
echo "TOEMAIL":$TOEMAIL

cd ${WORKSPACE}
java -Xms1024m -Xmx4096m -XX:MaxMetaspaceSize=512m -Xmn2304M -XX:-UseGCOverheadLimit -cp "./bin/.:lib/*" com.ymttest.utils.RunTestsV2 --ENV=$ENV --JOB_NAME=$JOB_NAME --BUILD_NUMBER=$BUILD_NUMBER --PRIORITY=$PRIORITY --THREAD_NUM=$THREAD_NUM --RETRY_TIME=$RETRY_TIME --isshuffle=$isshuffle --TOEMAIL=$TOEMAIL
